package com.api.shopapi.service;

import com.api.shopapi.entity.NursingType;
import com.github.pagehelper.PageInfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface NursingTypeService {


    int insert( NursingType nursingType);

    int updateByNursingTypeCode(NursingType nursingType);

    List<NursingType> getListNursingType(String institutionCode);

    int deleteByNursingTypeCode(String nursingTypeCode);

    NursingType getByNursingTypeCode(String nursingTypeCode) ;

    PageInfo<NursingType> getPageInfoNursingType(int pageIndex, int pageSize, String institutionCode);

    NursingType getByNameAndInstitutionCode(String name, String institutionCode);

    List<NursingType> getList(String institutionCode);

    PageInfo<NursingType> pageByGovCode(int pageIndex, int pageSize, String governmentCode);

}
